package com.dh.bm.controller;

import com.dh.bm.entity.User;
import com.dh.bm.service.UserService;

public class UserController {
    private UserService service = new UserService();

    public User login(String account, String passWord) {
        User user = service.login(account, passWord);
        return user;
    }
}
